home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD ROM Paradise Collection 4
/
CD ROM Paradise Collection 4 1995 Nov.iso
/
filutil
/
carve20a.zip
/
CARVE20A.DOC
< prev
next >
Wrap
Text File
|
1995-04-17
|
5KB
|
152 lines
========================================================================
CARVE v2.0a
Copyright(c) 1995 Graeme J Scott
========================================================================
Disclaimer
----------
CARVE is distributed "as is". The author of this program makes no warranty,
expressed or implied, as to the merchantability or fitness for a particular
purpose, with respect to this software and documentation. The author will not
be held liable for any damages arising from the (mis)use of this program.
Distribution
------------
This program is freeware and may be freely distributed as long as :-
i) The executable: CARVE.EXE, documentation: CARVE20A.DOC,
description file: FILE_ID.DIZ and archive info: FILES.LST are included
together in any archive. Do not distribute any of these files without
*all* the others.
ii) No money is charged other than for copying and media costs, if
applicable.
iii) No changes are made to either the program or the documentation, without
the prior permission of the author.
What is Carve?
--------------
Carve is a simple little utility that will split a file into a specified number
of 'chunks', and join them back together again. Maybe it's just me, but it
seems a bit of an oversight on the part of Microsoft that there is no split or
join commands in MS-DOS (although there is a pseudo join command using
COPY /b file1 + file2 + file3 + fileX outfile).
Using Carve
-----------
Using it couldn't be easier. There are 2 modes of operation:-
To split:
CARVE /s <filename> <chunksize[k]> [output directory]
Where filename is the name of any file that you want to split (no wildcards).
This file can be anything at all, text, exe, zip, whatever you like.
Chunksize is the size, in bytes (unless K is specified) that you want each
chunk to be. The lowest value is 1 byte and the largest is 32768 kilobytes.
The size must be specified as an integer (a 'whole' number). Also, remember
that 1Kb is actually 1024 bytes, not 1000!
Output directory is optional. If none is specified, the output will go to the
current directory.
The name of each split part of a file called DEMO.TXT, for example, will be
named DEMO.001 for the 1st part, DEMO.002 for the 2nd part etc, etc. Obviously,
since it's only the file extension that differs in the names of each part
(i.e. 3 characters), you can only have a maximum of 999 parts.
To join:
CARVE /j <filename> [output directory]
Where filename is the name of the file that you want to rebuild from the
previously split chunks. Again, the output directory is optional.
Examples
--------
To join the files TEXT.001, TEXT.002 and TEXT.003 to rebuild the file TEXT.TXT,
and put it in the current directory:
CARVE /j TEXT.TXT
To split the file HUGE.ZIP into 50 Kilobyte chunks:
CARVE /s HUGE.ZIP 50K
or
CARVE /s HUGE.ZIP 51200 (51200 bytes = 50 kilobytes)
To split the file TEST.CPP into 500 byte chunks and put them into C:\SOURCE
CARVE /s TEST.CPP C:\SOURCE
History
-------
v2.0a Complete rewrite of code due to loss of all previous versions :(
Should be no more problems with 0 byte joined files. New features
include: percentage counter, split files into as little as 1 byte
(rather than 1K), slight speed improvement on most drives, and
definable output directories.
v1.2 Modified v1.1 to allow joining of files. No other changes.
v1.1 First version publically available. Splits files to definable sized
parts. Improved dynamic buffer allocation for much improved speed.
v1.0 Never generally released.
Credits
-------
Thanks must go to all the people who reported the problems with the previous
version of CARVE (v1.2). Special thanks for beta testing go to -
Steve Cuddy (cuddy@gaul.csd.uwo.ca)
David Kmoch (kmoch@bubo.vslib.cz)
Steve Holm (sholm@teleport.com)
Thanks guys.
Last words
----------
Hopefully I've managed to exterminate all the bugs that dogged the previous
release. However, if you need to contact me for any reason, bug reports,
comments etc. I can be e-mailed at:-
graemes@festival.ed.ac.uk or
bsc2110@dcs.napier.ac.uk
Keep an eye out for
-------------------
Look out for HexManager v1.0 (hexman10.zip), an excellent hex editor available
to download by anonymous ftp from :-
src.doc.ic.ac.uk /pub/computing/systems/ibmpc/simtel/binedit (UK)
oak.oakland.edu /pub/binedit (USA)
garbo.uwasa.fi /pc/demo (Finland)
==================================EOF===================================